Skip to content

SCANPY-178: The scanner should respect the SONAR_SCANNER_OPTS environment variable #219

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 13, 2025

Conversation

joke1196
Copy link
Contributor

@joke1196 joke1196 commented Jun 13, 2025

SCANPY-178

Part of

@joke1196 joke1196 requested review from ghislainpiot June 13, 2025 11:55
@joke1196 joke1196 force-pushed the SCANPY-178 branch 2 times, most recently from 18505c8 to a0cafd6 Compare June 13, 2025 12:27
Copy link
Contributor

@ghislainpiot ghislainpiot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I left a suggestion, once you get the CI green LGTM

deprecated: bool = False

deprecation_message: Optional[str] = None
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can combine the boolean into the optional

@@ -101,6 +101,9 @@
SONAR_PYTHON_RUFF_REPORT_PATHS = "sonar.python.ruff.reportPaths"
TOML_PATH: Key = "toml-path"

# ============ DEPRECATED ==============
SONAR_SCANNER_OPTS = "sonar.scanner.opts"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some have the Key typehint, some don't. Not sure if it is intentional

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will add the type hint to the others

@joke1196 joke1196 force-pushed the SCANPY-178 branch 4 times, most recently from 45aff4d to 96e1e8f Compare June 13, 2025 14:03
Copy link

@joke1196 joke1196 merged commit ff0e44d into master Jun 13, 2025
15 checks passed
@joke1196 joke1196 deleted the SCANPY-178 branch June 13, 2025 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants